package com.solcoo.pojo;

import java.util.Date;

public class Menu {
	
	private Long id; // ID
	private Long shanghuid; // 商户ID
	private String name; // 菜名
	private String type; // 类型
	private Double price; // 价格
	private String isNew; // 是否新品: 0-否  1-是
	private String picPath; // 图片路径
	private String picName; // 图片名称
	private String picURL; // 图片地址
	private String remark; // 备注
	private Date createTime; // 创建时间
	
	public Long getId() {
		return id;
	}
	
	public void setId(Long id) {
		this.id = id;
	}
	
	public Long getShanghuid() {
		return shanghuid;
	}
	
	public void setShanghuid(Long shanghuid) {
		this.shanghuid = shanghuid;
	}
	
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public String getType() {
		return type;
	}
	
	public void setType(String type) {
		this.type = type;
	}
	
	public Double getPrice() {
		return price;
	}
	
	public void setPrice(Double price) {
		this.price = price;
	}
	
	public String getIsNew() {
		if (isNew == null || "".equals(isNew.trim()))
			isNew = "0";
		
		return isNew;
	}
	
	public void setIsNew(String isNew) {
		if (isNew == null || "".equals(isNew.trim()))
			this.isNew = "0";
		else
			this.isNew = isNew;
	}
	
	public String getPicPath() {
		return picPath;
	}
	
	public void setPicPath(String picPath) {
		this.picPath = picPath;
	}
	
	public String getPicName() {
		return picName;
	}
	
	public void setPicName(String picName) {
		this.picName = picName;
	}
	
	public String getPicURL() {
		return picURL;
	}
	
	public void setPicURL(String picURL) {
		this.picURL = picURL;
	}
	
	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Date getCreateTime() {
		return createTime;
	}
	
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	
}